package cp1300assignment1;

import java.util.Random;
/**
 *
 * @author Simon Marshall // jc209673 \\
 */
public class AssignmentModel {

    private int horizontalLaneNum;
    private int verticalLaneNum;
    private int gridSize;
    private int horizontalCarProbability;
    private int verticalCarProbability;

    /**
     *
     * @return
     */
    public int getGridSize() {
        return gridSize;
    }

    /**
     * 
     * @param gridSize
     */
    public void setGridSize(int gridSize) {
        this.gridSize = gridSize;
    }

    /**
     *
     */
    public AssignmentModel() {
        init();
    }

    private void init() {
        horizontalLaneNum = 1;
        verticalLaneNum = 1;
        gridSize = 50;
        horizontalCarProbability = 1;
        verticalCarProbability = 1;
    }

    /**
     *
     * @return
     */
    public int horizontalLaneNum() {
        return horizontalLaneNum;
    }

    /**
     *
     * @param horizontalLaneNum
     */
    public void sethorizontalLaneNum(int horizontalLaneNum) {
        this.horizontalLaneNum = horizontalLaneNum;
    }

    /**
     *
     * @return
     */
    public int getverticalLaneNum() {
        return verticalLaneNum;
    }

    /**
     *
     * @param verticalLaneNum
     */
    public void verticalLaneNum(int verticalLaneNum) {
        this.verticalLaneNum = verticalLaneNum;
    }

    int gethorizontalLaneNum() {
        return horizontalLaneNum;
    }

    /**
     *
     * @return
     */
    public int getverticalCarProbability() {
        return verticalCarProbability;
    }

    /**
     *
     * @return
     */
    public int gethorizontalCarProbability() {
        return horizontalCarProbability;
    }

    /**
     *
     * @param verticalCarProbability
     */
    public void setverticalCarProbability(int verticalCarProbability) {
        this.verticalCarProbability = verticalCarProbability;
    }

    /**
     *
     * @param horizontalCarProbability
     */
    public void sethorizontalCarProbability(int horizontalCarProbability) {
        this.horizontalCarProbability = horizontalCarProbability;
    }
}
